package day03;

public class OperDemo6 {
    public static void main(String[] args) {
       /* int a=10,b=66;
        int max=a>b?a:b;
        System.out.println("max="+max);*/
       /* int number=5;
        int flag=number>0?1:-1;
        System.out.println("number="+number);
        */
        int num=1;
        int flag=num>2?-1:0;
        System.out.println("flag="+flag);
        int a=10,b=50;
        int max=a>b?a:b;
        System.out.println("max="+max);
    }
}
